package mindteck.store;

public class User {

	private UserBean userBean;
	
	public User(){
		
	}
	
	public User(UserBean userBean){
		this.userBean = userBean;
	}
	
	public UserBean getUserBean(){
		return userBean;
	}
	
	public boolean login(UserDAO userDAO){
		boolean t = true;
		t = userDAO.insertUser(userBean);
		return t;
	}
}
